//
//  LeCameraManager.h
//  Leste
//
//  Created by 王乐 on 2022/1/25.
//

#ifndef LeCameraManager_hpp
#define LeCameraManager_hpp

#include "LeCameraObject.h"
#include "glm/glm.hpp"

class LeCameraManager
{
public:
    LeCameraManager();
    ~LeCameraManager();
    
public:
    static void initMainCamera(LeCameraObject* pcameraobj);
    static void setCameraTarget(LeGameObject* ptarget);
    static glm::mat4 getViewMatrix();
    static glm::mat4 getProjectionMatrix();
    static glm::vec3 getCameraPosition();
    static void setCameraShakeMode(bool shake);
    
public:
    static LeCameraObject* pCameraObject;
};

#endif /* LeCameraManager_hpp */
